package cn.xopencode.userservice.rpc.evaluate.dto;

import cn.xopencode.common.framework.vo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 查询员工自评分页时用的DTO
 *
 * @Author xiaodawei
 * @since 2021/9/22
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("员工自评查询参数")
public class EvaluatePageDTO extends PageParam {


    @ApiModelProperty(value = "精确查询：员工ID")
    private String userId;

    @ApiModelProperty(value = "模糊查询：员工姓名")
    private String emplName;

    @ApiModelProperty(value = "日期=")
    private Date evaluationDate;

    @ApiModelProperty(value = "日期>=")
    private Date evaluationDateStart;

    @ApiModelProperty(value = "日期<=")
    private Date evaluationDateEnd;

    @ApiModelProperty(value = "部门")
    private String deptTypeName1;

    @ApiModelProperty(value = "二级部门")
    private String deptTypeName2;

    @ApiModelProperty(value = "班组")
    private String deptTypeName3;

}
